<!-- 添加公司-->
<div class="layui-col-md12 ">
   
    <div class="layui-col-xs6 layui-col-md12">
        <form class="layui-form layui-row form-auto">
            <div class="layui-col-lg6">
                <div class="layui-form-item layui-col-xs12">
                    <div class="layui-block layui-row">
                        <label class="layui-form-label">公司名称</label>
                        <div class="layui-input-block " style="width: 60%;">
                            <input type="text" name="company_name" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item layui-col-md12">
                    <div class="layui-block">
                        <label class="layui-form-label">公司类型</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <select class="" name="company_mode" lay-verify="required">
                                <option value="">点击选择</option>
                                <option value="1">单位</option>
                                <option value="2">服务公司</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">公司简称</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="short_name" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">公司代码</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="code" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">用户</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="user_id" lay-verify="" class="layui-input layui-hide user_id" />
                            <input type="text" name="username" lay-verify="required" placeholder="点击选择" class="layui-input username"  readonly/>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">登录账户</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="account" lay-verify="" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">联系人</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="linkman"  autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">联系电话</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="phone" lay-verify="phone" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">地址</label>
                        <div class="layui-input-block" style="width: 60%;">
                            <input type="text" name="address" lay-verify="remark" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text  layui-col-md12">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block" style="width: 60%;">
                        <textarea placeholder="请输入内容" class="layui-textarea" name='remark' lay-verify="remark"></textarea>
                    </div>
                </div>
            </div>
            <!-- 右 -->
            <div class="layui-col-md12 layui-col-lg6" style="padding-left: 20px;">
                <!--单位性质-->
                <div class="layui-form-item">
                    <input type="hidden" name="prop" class="prop" value="" />
                    <div style="overflow: hidden;">
                        <label class="layui-form-label" style="text-align: left;">单位性质</label>
                    </div>
                    <div class="">
                        <ul id="ztreeid" class="ztree"></ul>
                    </div>
                </div>
                <!-- 性质执法 -->
                <div class="layui-form-item">
                    <div style="overflow: hidden;">
                        <label class="layui-form-label" style="text-align: left;">行政执法</label>
                    </div>

                    <div style="margin-left: 15px;">
                        <input type="radio" name="law_type" value="1" title="非行政执法" checked="">
                        <input type="radio" name="law_type" value="2" title="行政执法">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div style="overflow: hidden;">
                        <label class="layui-form-label" style="text-align: left;">营业执照照片</label>
                    </div>
                    <div class="layui-upload">
                        <div class="layui-upload-list">
                            <img class="layui-upload-img" id="img1" style="margin-left: 15px;">
                            <p id="demoText"></p>
                            <button type="button" class="layui-btn" style="margin-left: 15px;width: 100px;" id="test1">上传图片</button>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal keep" lay-submit=""
                        lay-filter="save">保存</button>
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal back">返回</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="{$static_dir}/assets/js/jquery.ztree.core.js"></script>
<script src="{$static_dir}/assets/js/jquery.ztree.excheck.js"></script>